#-------------------------------------------------
#
# Project created by QtCreator 2012-06-02T19:53:30
#
#-------------------------------------------------

QT       += network

QT       -= gui


TARGET = VxUtilLib
TEMPLATE = lib
CONFIG += staticlib


DEFINES += "STATICLIB"

win32 {
    CharacterSet=2
    DEFINES -= UNICODE
    DEFINES += "WIN_PLATFORM"
    DEFINES += "WIN32"
    DEFINES += "_WINDOWS"
    DEFINES += "_CRT_SECURE_NO_WARNINGS"
    debug {
        DEFINES += "DEBUG"
        DESTDIR = "../lib/debugWin32/"
        LIBS += -L"../lib/debugWin32/" -lVxUtilLib
    }
    release {
        DEFINES += "RELEASE"
        DESTDIR = "../lib/releaseWin32/"
        LIBS += -L"../lib/releaseWin32/" -lVxUtilLib
    }
}

unix:!symbian {
    maemo5 {
        target.path = ../lib/debugLinux/
    } else {
        QMAKE_CXXFLAGS += -Wno-unused-parameter
        CONFIG(declarative_debug, debug|declarative_debug) {
            message(Debug build pass)
            DESTDIR = "../lib/debugLinux/"
            DEFINES += "DEBUG"
            target.path =  ../lib/debugLinux/
        } else {
            message(Release build pass)
            DESTDIR = "../lib/releaseLinux/"
            DEFINES += "RELEASE"
            target.path =  ../lib/releaseLinux/
        }
    }
    INSTALLS += target
}

INCLUDEPATH += ../


SOURCES +=  ./VxTimer.cpp \
    ./VxThread.cpp \
    ./VxStringUtil.cpp \
    ./VxSktUtil.cpp \
    ./VxSktCode.cpp \
    ./VxShortcut.cpp \
    ./VxSettings.cpp \
    ./VxSemaphore.cpp \
    ./VxSearchFlags.cpp \
    ./VxRefCount.cpp \
    ./VxProxyFlags.cpp \
    ./VxProfile.cpp \
    ./VxParse.cpp \
    ./VxNetIdentBase.cpp \
    ./VxMutex.cpp \
    ./VxMathVec3f.cpp \
    ./VxLinuxOnly.cpp \
    ./VxIPv4Address.cpp \
    ./VxInetAddress.cpp \
    ./VxGlobals.cpp \
    ./VxGetExternalIps.cpp \
    ./VxFileUtil.cpp \
    ./VxFileLists.cpp \
    ./VxFileIsTypeFunctions.cpp \
    ./VxFileCrc32.cpp \
    ./VxDualInetAddress.cpp \
    ./VxConnectInfo.cpp \
    ./VxConnectId.cpp \
    ./VxCommon.cpp \
    ./VxColorUtil.cpp \
    ./VxChopMap.cpp \
    ./VxChop.cpp \
    ./VxPktHdr.cpp \
    ./vx_debug.cpp \
    ./sqlite3.c \
    ./rsa_gen.c \
    ./rsa_eay.c \
    ./OnlineId.cpp \
    ./md5.c \
    ./FriendMatch.cpp \
    ./DbBase.cpp \
    ./CheezyCrypt.cpp \
    ./Blowfish.c

HEADERS += ./VxUtilLib.h \
    ./VxTimer.h \
    ./VxTimeDefs.h \
    ./VxThread.h \
    ./VxSupportedFiles.h \
    ./VxStringUtil.h \
    ./VxSktUtil.h \
    ./VxSktDefs.h \
    ./VxSktCode.h \
    ./VxSingleton.h \
    ./VxShortcut.h \
    ./VxSettings.h \
    ./VxSemaphore.h \
    ./VxSearchFlags.h \
    ./VxSearchDefs.h \
    ./VxRefCount.h \
    ./VxProxyFlags.h \
    ./VxProfile.h \
    ./VxPktHdr.h \
    ./VxParse.h \
    ./VxNetIdentBase.h \
    ./VxMutex.h \
    ./VxMathVec4f.h \
    ./VxMathVec3f.h \
    ./VxMathVec2f.h \
    ./VxMathDef.h \
    ./VxMacros.h \
    ./VxLinuxOnly.h \
    ./VxKeyDefs.h \
    ./VxIPv4Address.h \
    ./VxInetAddress.h \
    ./VxGlobals.h \
    ./VxGetExternalIps.h \
    ./VxFileUtil.h \
    ./VxFileLists.h \
    ./VxFileIsTypeFunctions.h \
    ./VxFileCrc32.h \
    ./VxExampleClass.h \
    ./VxDualInetAddress.h \
    ./VxDefs.h \
    ./VxConnectInfo.h \
    ./VxConnectId.h \
    ./VxCommon.h \
    ./VxColorUtil.h \
    ./VxChopMap.h \
    ./VxChop.h \
    ./vx_debug.h \
    ./sqlite3.h \
    ./rsa.h \
    ./OnlineId.h \
    ./md5.h \
    ./FriendMatch.h \
    ./DbBase.h \
    ./CheezyCrypt.h \
    ./Blowfish.h




